package com.ruibang.glass.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.quality.domain.req.QualityWarpingReq;
import com.ruibang.glass.quality.domain.req.SemiCheckReportReq;
import com.ruibang.glass.quality.domain.resp.SemiCheckDetailData;
import com.ruibang.glass.quality.domain.resp.WarpingExcelDataResp;
import com.ruibang.glass.quality.entity.QualityWarping;
import com.teaming.cloud.framework2.common.pojo.PageRequest;
import com.teaming.cloud.framework2.common.pojo.PageResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 半成品翘曲信息 服务类
 * </p>
 *
 * @author wujie
 * @since 2024-03-11
 */
public interface QualityWarpingService extends IService<QualityWarping> {

    /***
     * 新增质量半成品翘曲信息
     * @param qualityWarping
     */
    void saveInfo(QualityWarping qualityWarping);

    /***
     * 更新质量半成品翘曲信息
     * @param qualityWarping
     */
    void updateInfo(QualityWarping qualityWarping);

    /***
     * 删除
     * @param id
     */
    void delete(String id);

    /***
     * 分页列表查询质量半成品翘曲信息
     * @param pageRequest
     * @return
     */
    PageResult<QualityWarping> queryPage(PageRequest<QualityWarpingReq> pageRequest);

    /***
     * 非分页列表查询质量半成品翘曲信息
     * @param requestReq
     * @return
     */
    List<QualityWarping> queryQualityWarping(QualityWarpingReq requestReq);


    List<SemiCheckDetailData> queryWarpingCheckData(SemiCheckReportReq reportReq);

    WarpingExcelDataResp importWarping(List<MultipartFile> files);
}
